﻿using System.Web.Mvc;

namespace Fuse8.ContentManagementFramework.Web.ApplicationRuntime
{
    public class PageNotFoundController : PageNotFoundHandledController
    {
        public ActionResult Index()
        {
            return Prepare404View();
        }

        protected override void HandleUnknownAction(string actionName)
        {
            var action = Prepare404View();

            action.ExecuteResult(ControllerContext);
        }        
    }
}
